import yagmail
def send_main(fujian):
    main=yagmail.SMTP(user="2624580490@qq.com",password="dpxctktcbtxqdjhi",host="smtp.qq.com")
    main.send(to="2624580490@qq.com",subject="月考报告",
              contents="经理您好\n这是本月的测试报告\n请签收\n谢谢您",
              attachments=fujian)